﻿namespace dgmobile
{
  /// <summary>
  /// Representation of a data block to be inserted into DB.
  /// </summary>
  public class Data
  {
    //Unique identifier used for data deletion.
    public int ID { get; set; }

    //ID of the user who inserted the row.
    public int UserID { get; set; }

    //Data entry timestamp.
    public System.DateTime Timestamp { get; set; }

    //One of the big 4 entry types (Atendimento, Melhoria, BD, OS).
    public string Type { get; set; }

    //Phone number associated with the entry.
    public string Terminal { get; set; }

    //Central station associated with the entry.
    public string Station { get; set; }

    //Meta information about the entry - concatenates stuff to look pretty!
    public string Meta { get; set; }

    //Whoever else was involved in the entry process.
    public string Responsible { get; set; }

    //Second meta, maybe? More for BD tramitation, but works everywhere.
    public string Status { get; set; }

    //Any extra info to be inserted.
    public string Observation { get; set; }
  }
}